<div class="view">

	<!--<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('user_id')); ?>:</b>
	<?php echo CHtml::encode(Yii::app()->getModule('user')->user($data->user_id)->username); ?>
	<br />-->

	<b>服务名称：</b>
	<?php echo CHtml::encode($data->type); ?>
	<br />
	
	<b>用户名：</b>
	<?php 
	$service = new $data->type($data->param1, $data->param2);
	echo CHtml::encode($service->getMyName()); ?>
	<br />

	<!--<b><?php echo CHtml::encode($data->getAttributeLabel('param1')); ?>:</b>
	<?php echo CHtml::encode($data->param1); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('param2')); ?>:</b>
	<?php echo CHtml::encode($data->param2); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('is_public')); ?>:</b>
	<?php echo CHtml::encode($data->is_public); ?>
	<br />-->


</div>